<h3 style="text-align: center;">Bentornato prof. <?php echo $this->Session->read('Auth.User.Anagrafica.cognome')." ".$this->Session->read('Auth.User.Anagrafica.nome') ?></h3>
<h4 style="text-align: center;">scegli il Registro:</h4>
<br />
<?php foreach ($classe_disciplina_docente as $classe) { ?>
    <div class="span2 classe">
        <div class="tile" style="min-height: 230px;background: #FAFAFA;border: 2px dashed #ccc;">
          <i class="icon-book icon-3x tile-image"></i> 
            <h3 class="tile-title"><?php echo $classe['Classe']["anno"].$classe['Classe']["sezione"]; ?></h3>
            <p style="min-height: 60px;">
                    <?php echo $classe['Disciplina']['nome']?><br>
                <small class="muted">
                    <i class="icon-time"></i> 2013-02-03 23:45
                </small>
            </p>
            <div class="">
                <a class="btn btn-info btn-large btn-block" href="<?php echo $this->webroot; ?>Registro/view/<?php echo $classe['ClasseDisciplinaDocente']['id'].'/'. date("Y-m-d").'/'.$classe['Classe']["id"].'/'.$classe['Disciplina']['id']  ?>">Accedi</a>
            </div>
        </div>
    </div>
<?php } ?>

